﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="BaseSystem.MenuTree" Codebehind="MenuTree.aspx.cs" %>


<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Menu</title>
    <link href="Style/Main.css" rel="stylesheet" type="text/css" />
    <script src="_System/Script/Common.js" type="text/javascript"></script>

</head>
<body style="background: #E7F5FD;">
    <form id="form1" runat="server">
        <table style="width:100%; height: 100%;" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top">
                    <div id="treeDiv" class="sdiv">
                        <asp:TreeView ID="TreeView1" runat="server" NodeIndent="10" Target="MainFrm" Width="100%"
                            Height="99%" ExpandDepth="0" AutoGenerateDataBindings="False" 
                            NodeStyle-ImageUrl="~/Images/form.gif" ParentNodeStyle-ImageUrl="~/Images/folder.gif" RootNodeStyle-ImageUrl="~/Images/folder.gif"  >
                            <ParentNodeStyle Font-Bold="False" ImageUrl="~/Images/folder.gif" />
                            <HoverNodeStyle BackColor="#C0E0FF" BorderColor="#003F98" BorderStyle="Solid" BorderWidth="1px"
                                Font-Underline="True" />
                            <SelectedNodeStyle BackColor="#C0E0FF" BorderColor="#003F98" BorderStyle="Solid"
                                BorderWidth="1px" Font-Underline="False" HorizontalPadding="1px" VerticalPadding="1px" />
                            <NodeStyle HorizontalPadding="5px" NodeSpacing="1px" VerticalPadding="1px" ImageUrl="~/Images/form.gif" />
                            <RootNodeStyle ImageUrl="~/Images/folder.gif" />
                        </asp:TreeView>
                    </div>
                </td>
            </tr>
        </table>
    </form>
    
    <script type="text/javascript">
        window.onload=function()
        {
            setHeight("treeDiv",0);
        }
        window.onresize=function()
        {
            setHeight("treeDiv",0);
        }
    </script>
</body>
</html>
